<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>首页</title>
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/istyle.css">
<link rel="stylesheet" type="text/css" href="article/theme/css/layout.css">
<link rel="stylesheet" href="skin/default/jooyea/css/layout.css" />
<link rel="stylesheet" href="servtools/coin-slider/coin-slider-styles.css" type="text/css" />
</head>
<body>
{inc:require("uiparts/guestheader.php");/}
<div class="i_wraper">

    <div class="i_header">  
    </div>
    <div class="i_content"> 
        <div class="i_content_left">

            <div class="i_message">

                <div class="i_message_left">
                    <h3>推荐榜</h3> 
                    {sta:foreach($user_rs as $val)[loop]}
                <dl>
                    <dt>
                        <a class="" hidefocus="true" href="home.php?h={echo:$val['user_id'];/}" target="_blank"><img src="{echo:$val['user_ico'];/}" alt="{echo:$val['user_name'];/}" /></a>
                        <p><a href="home.php?h={echo:$val['user_id'];/}" hidefocus="true" target="_blank">{echo:sub_str($val['user_name'],5,true);/}</a></p>
 
                    </dt>
                </dl>
                {end:foreach/}

            <div class="clear"></div>
             <div class="i_ad">
                    <img width="180" src="skin/default/jooyea/images/index_right.jpg" />
                
                </div>




                </div>
                <div class="i_message_right">
                    <h3>心语墙</h3>
            
                    {sta:foreach($message_rs as $val)[loop]}
                    <div class="message_item">
                        <div style="float:left;margin-right:5px;">
                            <img src="{echo:$val['iweber_user_ico'];/}"  alt="{echo:$val['iweber_user_name'];/}" />
                        </div> 
                        <p>
                            <a href="home.php?h={echo:$val['iweber_user_id'];/}" hidefocus="true" target="_blank"><strong>{echo:sub_str($val['iweber_user_name'],5,true);/}</a></strong>
                            <span class="date"> {echo:date("Y-m-d H:i:s",$val["iweber_message_time"]);/}
                            </span>
                        </p>
                        <p>
                            {echo:$val['iweber_message_content'];/} 
                        
                        </p>
                    <div class="clear"></div>
                    </div>
                    {end:foreach/}
                    <div class="clear"></div>
                    {sta:page_show(false,$page,$all);/}
                    <hr style="margin:5px 0">
                <form action="do.php?act=iMessage_add" method="post">
                    <p style="text-align:center">
                        <textarea style="width:300px;height:100px;resize:none;" name="content"></textarea> 
                        <br>
                        <input type="submit" value="留言">
                    </p>
                </form>
                </div>
                <div class="clear"></div>

            </div>

          
        </div>
        <div class="i_content_right">
			<!--最新文章开始-->
			<div class="cont">
				<div class="cont_title">
                    <span><a href="article/index.php?app=view&list&mod=new">更多..</a></span>
				最新文章
				</div>
				<div class="cont_body" id="new_log">
					<ul>
						{sta:foreach($recom_rs as $val)[loop]}
                        <li><a href="article/index.php?app=view&show&id={echo:$val['id'];/}"><nobr>{echo:sub_str($val['title'],20);/}</nobr></a></li>
						{end:foreach/}
					</ul>
					<!--广告!-->
                    <a href="#"><img src="article/theme/img/banner_03.gif" width="210px" /></a>
				</div>
			</div>
			<!--最新文章结束-->
             <div class="i_ad">
                    <img width="216" src="skin/default/jooyea/images/index_right_1.jpg" />
                
                </div>


        </div>
        <div class="i_clear"></div>
    </div>
    <div class="i_footer">



    </div>



</div>

{inc:require("uiparts/footor.php");/}

</body>
</html>
